forked from NYANDEV/forgejo
- Switch to use `CryptoRandomBytes` instead of `CryptoRandomString`, OAuth's secrets are copied pasted and don't need to avoid dubious characters etc. - `CryptoRandomBytes` gives  `CryptoRandomString` gives  possible states. - Add a prefix, such that code scanners can easily grep these in source code. - 32 Bytes + prefix |
||
---|---|---|
.. | ||
main_test.go | ||
oauth2.go | ||
oauth2_test.go | ||
session.go | ||
source.go | ||
source_test.go | ||
twofactor.go | ||
webauthn.go | ||
webauthn_test.go |