summaryrefslogtreecommitdiffstats
path: root/models/login.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor User.Id to User.IDUnknwon2016-07-241-2/+2
|
* Remove redundant Unix timestamp method callUnknwon2016-07-231-2/+2
| | | | Unix() already uses UTC as timezone
* #3295 fix wrong logic judgementUnknwon2016-07-211-1/+1
|
* #2709 validate username attribute fetched from LDAPUnknwon2016-07-121-16/+22
|
* Use SecurityProtocol to replace UseSSL in LDAP configUnknwon2016-07-081-6/+22
| | | | Initially proposed by #2376 and fixes #3068 as well.
* #2302 Replace time.Time with Unix Timestamp (int64)Unknwon2016-03-091-2/+23
|
* Minor fix for #2634Unknwon2016-02-201-6/+6
| | | | Add AttributesInBind option in new auth source form.
* #2349 fix convert typeUnknwon2016-01-111-3/+3
|
* #2349 try to handle []int8 caseUnknwon2016-01-111-1/+12
|
* #2152 fix SMTP authentication makes invalid assumption on protocolUnknwon2015-12-111-1/+6
|
* #1938 #1374 disable password change for non-local usersUnknwon2015-12-101-32/+32
|
* APIs: admin usersUnknwon2015-12-051-2/+2
|
* LDAP: Optional user name attribute specificationAdam Strzelecki2015-12-021-6/+22
| | | | | | | | | | | | | | | Consider following LDAP search query example: (&(objectClass=Person)(|(uid=%s)(mail=%s))) Right now on first login attempt Gogs will use the text supplied on login form as the newly created user name. In example query above the text matches against both e-mail or user name. So if user puts the e-mail then the new Gogs user name will be e-mail which may be undesired. Using optional user name attribute setting we can explicitly say we want Gogs user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail to login 1st time, the new account will receive correct user name.
* some fix to #2026Unknwon2015-11-231-4/+3
|
* minor fix on #1694Unknwon2015-11-211-4/+3
|
* #1637 able to skip verify for LDAPUnknwon2015-09-141-4/+15
|
* #1635 PAM return error bugUnknwon2015-09-141-1/+1
|
* #697 disable captcha and new admin create user UIUnknwon2015-09-131-1/+1
|
* #1625 remove auto_register and makes it defaultUnknwon2015-09-121-80/+99
|
* #1625 LDAP not workingUnknwon2015-09-121-5/+4
|
* clean logUnknwon2015-09-111-1/+0
|
* #1620 add allowed domains for SMTP authUnknwon2015-09-111-6/+18
|
* finish new edit auth UIUnknwon2015-09-111-5/+34
|
* finish new add auth UIUnknwon2015-09-101-6/+4
|
* more minor fix on 1581Unknwon2015-09-101-0/+6
|
* minor fix on #1581Unknwon2015-09-101-7/+4
|
* Added LDAP simple auth support.Sergio Benitez2015-09-041-58/+54
|
* #1542 A way to skip TLS verify for SMTP authenticationUnknwon2015-08-291-40/+45
|
* Set IsAdmin using LDAPGirish Ramakrishnan2015-08-181-1/+2
| | | | | | | | | The IsAdmin flag is set based on whether the admin filter returned any result. The admin filter is applied with the user dn as the search root. In the future, we should update IsAdmin as well on each login. Alternately, we can have a periodic sync operation.
* Significantly enhanced LDAP support in Gogs.Sergio Benitez2015-08-121-4/+4
|
* allow anonymous SSH cloneUnknwon2015-08-051-6/+6
|
* Merge pull request #1226 from nice-software/wip/pamLunny Xiao2015-04-241-0/+61
|\ | | | | Add PAM authentication
| * Add PAM authenticationPaolo Borelli2015-04-241-0/+61
| |
* | typo fixDustin Willis Webber2015-04-161-1/+1
|/
* #1124 lower_name of LDAP user not assignedUnknwon2015-03-231-0/+1
|
* fix HTTP/HTTPS push update func call panic #1037 and `http: multiple ↵Unknwon2015-03-121-4/+2
| | | | response.WriteHeader calls`
* routers/repo/setting.go: fix LDAP cannot validate password #1006Unknwon2015-03-051-45/+43
|
* Get username, name, surname and e-mail from LDAP serverLauris BH2015-02-081-1/+2
|
* Fix spelling errors in comments.Joseph Crail2014-12-061-3/+3
|
* work on #672Unknwon2014-12-051-8/+11
|
* Fix fork repo and macaron API brokenUnknwon2014-10-241-1/+1
|
* Fix SMTP auth logicUnknwon2014-10-031-6/+2
|
* New UI merge in progressUnknwon2014-07-261-13/+14
|
* Add create organizationUnknown2014-06-251-2/+2
|
* Fix #165Unknown2014-06-211-9/+9
|
* Add tar.gz download button and other mirror updatesUnknown2014-06-081-45/+38
|
* Code conventionUnknown2014-06-051-2/+2
|
* Finish create new labelUnknown2014-05-181-3/+2
|
* Clean old LDAP codeUnknown2014-05-151-1/+1
|
* Make gmail auth workUnknown2014-05-151-16/+21
|