25 Commits
Author SHA1 Message Date
Nicolas PERNOUDandGitHub 3a8bd5e876 Allow Bcrypt $2a$ prefix 2018-07-20 13:58:52 +02:00
Sebastian Mancke 81ca088a12 support for custom claims in a user file 2018-02-16 17:15:29 +01:00
Volker Schmitz 9a3d7c0031 change files/file separator from , to ; 2017-06-29 09:49:51 +02:00
Volker Schmitz 899c4caad2 add warning for duplicated user in hash 2017-06-28 14:00:32 +02:00
Volker Schmitz ff3ba260f7 move userHash to tmpHash; removed parse bool 2017-06-28 13:37:03 +02:00
Volker Schmitz c144679ca4 add test if auth from to differend files works 2017-06-28 13:08:54 +02:00
Volker Schmitz 28cacd9f41 make tests more readable 2017-06-28 13:00:10 +02:00
Volker Schmitz 34b41acebe add ne File struct to check each files timestamp 2017-06-28 12:45:17 +02:00
Volker Schmitz 7cdbb23122 add functionality to append config params file/files 2017-06-28 11:53:51 +02:00
Volker Schmitz abb3d73434 add test for new files feature 2017-06-27 18:10:20 +02:00
Volker Schmitz 6e6acbb7c1 add multiple files for htpasswd auth
* add config parameter files
** files will be read first

Example:
- file=/tmp/test,/tmp/test2
- file=tmp/test
- files=/tmp/test,/tmp/test2
- files=tmp/test
2017-06-27 17:32:12 +02:00
Sebastian Mancke 060174b317 added test for htpasswd reload 2017-05-30 22:57:27 +02:00
magikstm 5f2b10d586 Small corrections (use of defer) for last commit on #20 2017-05-22 14:58:09 -04:00
magikstm 7d3c4202a3 Add RWMutex to protect race conditions on issue #20 2017-05-22 14:07:21 -04:00
magikstm d755aa8d43 Caddy usage - htpasswd file isn't reloaded (on insert, on update or on delete) 2017-05-21 23:16:00 -04:00
magikstm ddd220a996 Correct a typo in an error message and a few other minor typos 2017-05-16 01:14:45 -04:00
Sebastian Mancke a769eff0a2 fixed most golint findings 2017-05-15 11:56:24 +02:00
Sebastian Mancke 4276628b95 used . import for assert library in tests 2017-05-15 11:01:31 +02:00
magikstm 09d62d0bf4 Fixed some typos in error messages and comments 2017-05-13 00:06:01 -04:00
Sebastian Mancke 8f085896d5 refactoring of config interface 2017-05-01 21:17:34 +02:00
Sebastian Mancke 66af9505e2 claim model refactoring & fetch github user data 2017-04-30 00:31:30 +02:00
Sebastian Mancke 9970b67d3a finished htpasswd provider 2016-11-22 22:26:27 +01:00
Sebastian Mancke d234785855 added support for sha1 and md5 in htpasswd 2016-11-22 12:22:32 +01:00
Sebastian Mancke 7b94209dd4 enhanced test coverage for htpasswd 2016-11-22 11:48:22 +01:00
Sebastian Mancke a3d3e71ff3 started htpasswd implementation 2016-11-21 23:37:10 +01:00