You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers/user/setting
6543 ad5c43ae5d
Reject duplicate AccessToken names (#10994)
* make sure duplicate token names cannot be used

* add check to api routes too

* add @lunny s suggestion

* fix & don't forget User.ID

* AccessTokenByNameExists() return error too

* unique token for each test

* fix lint

Signed-off-by: 6543 <6543@obermui.de>

Co-authored-by: Lanre Adelowo <yo@lanre.wtf>
4 years ago
..
account.go ui:Add flash notify for email preference seting success (#11027) 4 years ago
account_test.go Add password requirement info on error (#9074) 5 years ago
applications.go Reject duplicate AccessToken names (#10994) 4 years ago
keys.go Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863) 4 years ago
main_test.go Splitted the user settings code into several files to be more maintainable (#3968) 6 years ago
oauth2.go OAuth2 Grant UI (#6625) 5 years ago
profile.go Various fixes in login sources (#10428) 4 years ago
security.go API add/generalize pagination (#9452) 5 years ago
security_openid.go fix missing data on redirects (#3975) 6 years ago
security_twofa.go Fixed ineffectual assignments (#7555) 5 years ago
security_u2f.go Add golangci (#6418) 5 years ago