summaryrefslogtreecommitdiffstats
path: root/templates/user/auth/signin.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* Add fluid to ui container class to remove margin (#16396)Stanley Hu2021-07-201-1/+1
|
* Add class to page content to unify top margin (#13766)silverwind2020-11-301-1/+1
| | | | | | | | | | | | | | | | | | | * Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* unify layout between auth pages (#13547)Norwin2020-11-131-2/+4
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Login via OpenID-2.0 (#618)Sandro Santilli2017-03-171-1/+6
|
* Oauth2 consumer (#679)Willem van Dreumel2017-02-221-42/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
* Fixes xss, clickjacking & password autocompletionBwko2016-11-291-1/+1
|
* Indent all templates with tabsAdam Strzelecki2015-12-081-39/+39
| | | | | | | | | | | | This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
* drop oauth2 feature supportUnknwon2015-09-171-10/+2
|
* finish new auth e-mailsUnknwon2015-09-171-1/+1
|
* new sign in pageUnknwon2015-09-141-42/+49
|
* Match naming convention on page (checkbox→chk)Andrew Patton2015-04-151-1/+1
|
* Wrap remember text+checkbox in label; close #1209Andrew Patton2015-04-151-3/+4
|
* templates/user/auth/signin.tmpl: hide sign up prompt when registration is ↵Unknwon2015-02-121-0/+2
| | | | disabled #884
* mirror fix on oauth2Unknwon2014-11-281-3/+1
|
* Add suburl supportUnknwon2014-09-191-3/+3
|
* Allow Gogs to run from a suburl behind a reverse proxy. e.g. ↵Martin van Beurden2014-09-181-3/+3
| | | | | | | | | | | | | | http://mydomain.com/gogs/ Conflicts: modules/setting/setting.go Conflicts: templates/repo/release/list.tmpl templates/user/dashboard/dashboard.tmpl Conflicts: routers/repo/setting.go
* Finish team list, create new team, join/leave team pageUnknwon2014-08-161-0/+44