File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -237,9 +237,9 @@ def show_panel_pwd():
237237 pwd = mw .readFile (defailt_pwd_file ).strip ()
238238
239239 if mw .md5 (pwd ) == info ['password' ]:
240- print ('password: ' + pwd )
240+ print ('|- password: ' + pwd )
241241 return
242- print ("password has been changed!" )
242+ print ("* password has been changed!" )
243243
244244def show_panel_adminpath ():
245245 admin_path = thisdb .getOption ('admin_path' )
@@ -264,7 +264,7 @@ def set_panel_username(username=None):
264264 if info ['name' ] == 'admin' :
265265 username = mw .getRandomString (8 ).lower ()
266266 thisdb .setUserByRoot (name = username )
267- print ('|-用户名 : ' + info ['name' ])
267+ print ('|-username : ' + info ['name' ])
268268
269269
270270def getServerIp ():
Original file line number Diff line number Diff line change 88# Author: midoks <[email protected] > 99# ---------------------------------------------------------------------------------
1010
11+ from .init import *
1112from .option import *
12- from .user import *
13+ from .user import *
Original file line number Diff line number Diff line change 1+ # coding:utf-8
2+
3+ # ---------------------------------------------------------------------------------
4+ # MW-Linux面板
5+ # ---------------------------------------------------------------------------------
6+ # copyright (c) 2018-∞(https://github.com/midoks/mdserver-web) All rights reserved.
7+ # ---------------------------------------------------------------------------------
8+ # Author: midoks <[email protected] > 9+ # ---------------------------------------------------------------------------------
10+
11+
12+ def initPanelData ():
13+ pass
You can’t perform that action at this time.
0 commit comments