mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
Sdoc (#5434)
* [sdoc file view] added file view, history/trash file view for 'sdoc' * [sdoc file view] sdoc-editor: upgraded it to the latest version(0.1.5) - sdoc file view: enable 'auto save' - sdoc shared/history/trash file view: use the read-only sdoc viewer * [sdoc file view] fixup
This commit is contained in:
@@ -1312,7 +1312,7 @@ export const Utils = {
|
||||
|
||||
generatePassword: function(length, hasNum=1, hasChar=1, hasSymbol=1) {
|
||||
|
||||
var password = "";
|
||||
var password = '';
|
||||
|
||||
// 65~90:A~Z
|
||||
password += String.fromCharCode(Math.floor((Math.random() * (90-65)) + 65));
|
||||
|
Reference in New Issue
Block a user