I was thinking about modifying my forum to save me re-entering my admin member name at each of the Admin-level logins. If I am already logged in as an admin to the main forum, the admin login ought to fill-in my username for me and only prompt me for my password. I am proposing the below changes - does anyone see a security flaw in my approach? Is there a reason why this hasn't already been done? Thanks in advance for your comments...
Prior to Line 102 in admin_login.asp:
UserNameValue = ""
if (mlev <> 0) then
if strAuthType = "nt" then
UserNameValue = Session(strCookieURL & "username")
else
if strAuthType = "db" then
UserNameValue = ChkString(strDBNTUserName, "display")
end if
end if
end if
Add the red code to the middle of Line 113:
... <input type=""text"" name=""Name"" value=""" & UserNameValue & """ style=""width:150px;""> ...