When you go to the webfig login page, the username is prefilled (usually admin). Is there any way to turn this off so that the username is just blank. It messes with my password manager’s auto-type
I’d also be interested in disabling that behaviour. I’ve disabled the default admin account and so must always clear it to enter my own username. Tried looking to see if possible to do with a skin as well but unclear on that.
sounds like a good idea
That is most likely happening in your browser, not in WebFig.
Just an educated guess as I never use WebFig.
The default username come from the Login page’s HTML, if one had not already been used in the same “session” (e.g. browser tab).
I can’t say for 100%, and perhaps complex, you can likely replace the login page in a branding kit package. Inside the replaced login page you need to change the data-defaultuser=admin to whatever.
So much for my educated guess…
Well, if I hadn’t looked at the webfig internals recently… I might have agreed.
See http://forum.mikrotik.com/t/webfig-auto-login-show-only-some-data/72342/1
The OP’s issue seems like a some race condition where the password manager is setting the username field on page load, but some of Mikrotik’s JavaScript populates the username field in background – e.g. AFTER the password manager already set the field…
As feature request, it would be nice to set the “default user” in RouterOS config, especially since I’d say its a “best practice” to NOT use “admin” as a login name, but it being default only encourages it
. Even if possible with branding kit, that’s awful complex & not 100% it work since I haven’t tried doing that.
Agreed. I don’t use “admin” or “administrator” (with or without a capital A) as an admin UserID on anything where I have a choice. I do have a few monitoring systems that don’t give a choice - argh!
I came here looking for the same answers, why is ‘admin’ prepopulated in the webfig window? That should not be the case and I can’t seem to find a way to remove it.
This is the code:
Is there a way to just simply remove the login username by default?
Nope, or at least no documented way I could find. And, agree, it’s annoying.
Considering Mikrotik encourages everyone to NOT use “admin” as username (i.e. to add another element to a password attack), it a poor default these days.