mirror of https://github.com/go-gitea/gitea
TrimSpace when reading InternalToken from a file (#11502)
InternalTokens are fixed as alphanum strings therefore TrimSpace from these. Also use isatty to not add a terminal newline when redirecting generate. Fix #11498 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>pull/11521/head^2
parent
0903b1ac8c
commit
c81ab17de9
Loading…
Reference in new issue