mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 05:15:49 +01:00
bug fix remote access
This commit is contained in:
@@ -257,8 +257,7 @@ class DatabaseManager:
|
||||
else:
|
||||
return ACLManager.loadErrorJson()
|
||||
|
||||
# mysqlUtilities.allowRemoteAccess(db[0].dbName, userName, remoteIP)
|
||||
|
||||
mysqlUtilities.allowRemoteAccess(db[0].dbName, userName, remoteIP)
|
||||
mysqlUtilities.createDatabase(db[0].dbName, userName, 'cyberpanel', 0, remoteIP)
|
||||
dbUserInMysql = DBUsers.objects.get(user=userName, host='localhost')
|
||||
mysqlUtilities.changePassword(userName, dbUserInMysql.password, 1, remoteIP)
|
||||
|
||||
Reference in New Issue
Block a user