2
0
Commit Graph

15 Commits

Author SHA1 Message Date
guillep2k
3e2fa7715e Admin page for managing user e-mail activation (#10557)
* Implement mail activation admin panel

* Add export comments

* Fix another export comment

* again...

* And again!

* Apply suggestions by @lunny

* Add UI for user activated emails

* Make new activation UI work

* Fix lint

* Prevent admin from self-deactivate; add modal

Co-authored-by: zeripath <art27@cantab.net>
2020-03-02 15:25:36 -03:00
guillep2k
a6206c6ac6 Ensure only own addresses are updated (#10397) 2020-02-21 10:08:04 -03:00
kolaente
7815690b67 Add golangci (#6418) 2019-06-12 15:41:28 -04:00
Ethan Koenig
8207f53524 Replace deprecated Id method with ID (#2655) 2017-10-05 07:43:04 +03:00
Lunny Xiao
2769426b8c Reduce usage of allcols on update (#2596)
* reduce usage of allcols on update

* fix bug and tests
2017-09-25 12:59:27 +08:00
Lauris BH
ea224aa996 Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
Ethan Koenig
439ab34752 Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
Denis Denisov
6669a9d490 Fix random string generator (#384)
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
2016-12-20 13:32:02 +01:00
Lunny Xiao
1b6d07d8d8 fixed vulnerabilities (#392) 2016-12-15 16:49:06 +08:00
Bwko
334903e306 Fixes typos 2016-11-27 12:59:12 +01:00
Bwko
c71cc5a26b Lint models/user_email.go 2016-11-26 01:03:06 +01:00
Lunny Xiao
e0447d8fc1 fixed bug #151 caused Find should be Get (#153) 2016-11-12 00:01:09 +01:00
Thibault Meyer
50df9768f3 Rewrite XORM queries 2016-11-10 20:59:51 +01:00
Unknwon
48b0d21673 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon
955ef33d74 models/user_mail: refactor EmailAddress 2016-07-16 10:08:04 +08:00