Closed SaOgaz-NOAA closed 4 years ago
Hmm... this "works", but it also appears that bnauth(?) gives a total misnomer of an error when the pw is wrong. Should look into that at some point.
Indeed, bn-auth gets whatever error msg from AUA and passes it along. We could "translate it" perhaps
Hmmm. Would you expect this... bad pw gave me a "Error: User not authorized for BOATNET_OBSERVER"
That's straight from AUA, yes. (Generally auth failures should be generic and not specify why they failed)
Okay. For now I'll just change it to some generalized error. Not sure if we want to also do this for obs-web @sethgerou-noaa
Login page is super sparse right now, doesn't give notification if log in doesn't work. Change password etc buttons aren't hooked up... leave those, implement them?