We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docker deployment is successful. By default, the account and password documents are not written
The text was updated successfully, but these errors were encountered:
admin/toughradius talkincode/toughradius
All the above passwords failed
Sorry, something went wrong.
The program always detects the superuser when it starts, if you can't log in, please check if the database connection and initialization are correct.
func (a *Application) checkSuper() { var count int64 a.gormDB.Model(&models.SysOpr{}).Where("username='admin' and level = ?", "super").Count(&count) if count == 0 { a.gormDB.Create(&models.SysOpr{ ID: common.UUIDint64(), Realname: "administrator", Mobile: "0000", Email: "N/A", Username: "admin", Password: common.Sha256HashWithSalt("toughradius", common.SecretSalt), Level: "super", Status: "enabled", Remark: "super", LastLogin: time.Now(), }) } }
No branches or pull requests
The docker deployment is successful. By default, the account and password documents are not written
The text was updated successfully, but these errors were encountered: