auto pre-fill superuser creds if default
This commit is contained in:
@@ -22,8 +22,8 @@ FIRST CLIENT SOURCE CODE COMMIT JAN 3rd 2019
|
||||
|
||||
# OUTSTANDING MAJOR AREAS TO BETA
|
||||
|
||||
todo: fresh boot no license should pre fill super user password and login as there is no list offered and it's a high barrier to find it
|
||||
actually, any time the license is not the actual purchased one it should pre-fill I think
|
||||
|
||||
|
||||
|
||||
# OUTSTANDING BEFORE RELEASE
|
||||
|
||||
@@ -811,4 +811,4 @@ Current v8 docs home: https://www.ayanova.com/docs/
|
||||
|
||||
BUILD 8.0.0-beta.1-rc5 CHANGES OF NOTE
|
||||
|
||||
-
|
||||
- changed the login process to always pre-fill in the login and password of the superuser any time the super user is found to be set to the stock default credentials (superuser, l3tm3in)
|
||||
@@ -391,11 +391,17 @@ export default {
|
||||
try {
|
||||
let res = await window.$gz.api.get("notify/hello");
|
||||
if (res.data != null) {
|
||||
if (res.data.sudf == true) {
|
||||
//superuser is default creds
|
||||
vm.input.username = "superuser";
|
||||
vm.input.password = "l3tm3in";
|
||||
vm.reveal = true; //might as well show it since it's the default anyway
|
||||
}
|
||||
vm.showEvalUsers = res.data.eval;
|
||||
vm.hasSmallLogo = res.data.sl;
|
||||
vm.hasMediumLogo = res.data.ml;
|
||||
vm.hasLargeLogo = res.data.ll;
|
||||
vm.lcr = res.data.lcr; //license consent required flage
|
||||
vm.lcr = res.data.lcr; //license consent required flag
|
||||
}
|
||||
} catch (error) {
|
||||
//squash it, this isn't critical
|
||||
|
||||
Reference in New Issue
Block a user