Commit Graph

22 Commits

Author SHA1 Message Date
Khanh Ngo
5f049debe5 Adding Flask-SeaSurf module for CSRF protection. 2018-11-21 10:24:33 +07:00
Josh Soref
2efb674230 spelling: comparison 2018-10-02 07:06:06 +00:00
Khanh Ngo
43830e5e63
Fix js code as suggestion from LGTM 2018-08-31 21:57:52 +07:00
Khanh Ngo
421ea627d8
#237. Allow LDAP user to use OTP 2018-08-22 09:43:33 +07:00
Khanh Ngo
ada6f844ff
Read LDAP config from DB instead of file. Adjustment in site titles 2018-08-18 22:42:18 +07:00
Thomas M Steenholdt
539e6bc562 Fix double refresh when activating 2FA
When toggling Two Factor Authentication, it often takes a few tries to get it to work.
The toggle function ends up reloading the page in two different places, effectively creating a race condition.

This fixes that problem

(cherry picked from commit 6b9fc897bc02ff857a968e76ed49f1b0f2108bb5)
2018-08-12 07:48:34 -02:00
Khanh Ngo
5354d27f88 Fix #234 2018-04-08 09:09:08 +07:00
Khanh Ngo
17a892b18d Resolve the conflicts for #228 2018-04-02 13:38:53 +07:00
Khanh Ngo
b7aefc57b2 Fix 169: enabling/disabling Two Factor Authentication doesn't work 2018-04-01 14:49:40 +07:00
thomasDOTde
f92661c753 remove unnecessary controls from profile for ext. auth. 2017-11-01 13:40:26 +01:00
thomasDOTde
12c957bf5f disabled profile usage when authenticated externally 2017-11-01 01:34:29 +01:00
Khanh Ngo
ee033f2198 Add Gravatar to display user's avatar 2016-07-13 21:33:21 +07:00
Ivan Filippov
ea79c01aff Added SCRIPT_ROOT parameter. Fixes #52.
Adds a new javascript parameter that holds the webroot of the app. This
allows the the javascript calls to properly identify that they're
running in a subfolder/different webroot and direct their queries there.
2016-07-05 21:34:21 -06:00
Khanh Ngo
d837e878e4 Convert tabs to spaces in HTML template files. 2016-06-18 11:41:01 +07:00
Khanh Ngo
92dd1586bf Add anchor tag in user_profile's url. Reload authentication tab when update 2016-06-18 11:37:23 +07:00
Khanh Ngo
f4e2c3b3df Add OTP authentication feature 2016-06-16 15:36:05 +07:00
Ivan Filippov
2b80339753 Standardize on btn-flat button style. 2016-05-10 18:11:17 -06:00
Ivan Filippov
dc41a55da7 Change profile template to use adminlte2 templating. 2016-05-10 18:05:27 -06:00
Ivan Filippov
7f01511d10 Fix 'Home' breadcrumb when running in a subdirectory. 2016-04-19 17:53:18 -06:00
Khanh Ngo
9eb458cb11 Remove 'Remove' button in avatar upload template 2015-12-25 11:24:42 +07:00
Khanh Ngo
5d06195795 Adjustment in user_profile template. Add avatar uploading support 2015-12-17 00:50:28 +07:00
Khanh Ngo
28882b57b1 Add UserProfile page 2015-12-16 14:21:30 +07:00