Aaron L
7cbe4216a0
Fix internal server error when wrong usr/pwd
...
- Correct tests to stop actually checking for internal server errors on
wrong username/password. Sometimes tests aren't everything.
- Fix #64
2015-07-01 18:07:26 -07:00
Aaron L
704697472f
Add redirection on pages when logged in.
...
- Stop logged in users from accessing pages like auth/recover etc.
- Ensure that half-authed users are allowed access to auth-like pages.
- Make sure that if users have a remember token, it's processed before
we decide if a user is logged in or not, preventing or granting access
to these pages.
- Fix #58
2015-04-10 22:41:59 -07:00
Kris Runzer
d60dd6ddba
Remove cloaking of errors on auth credentail validation. Errors properly log to LogWriter.
2015-04-03 11:50:07 -07:00
Aaron
c98ef93e06
Fix modules after refactor.
2015-04-01 13:08:08 -07:00
Aaron
f12f10fa43
Stop reliance on global scope.
...
- This change was necessary because multi-tenancy sites could not use
authboss properly.
2015-03-31 12:34:03 -07:00
Aaron
bd0d3c5f68
Add a default logger.
...
- Having the default logger set to nil was troublesome because some errors
are hard to detect without a logger. This falls under "sane default"
changes and so should be made.
2015-03-30 09:55:37 -07:00
Aaron L
3d905f001f
Go vet fixes.
2015-03-16 14:51:44 -07:00
Kris Runzer
045b9331c7
Fix expire token shenanigans
...
- Add session and cookie cleanup on logout
2015-03-02 22:09:32 -08:00
Aaron
bf0a8b098c
Add mountedpath so forms work on mounted paths.
...
- Refactor naming for config "redirect" variables.
- Removed flash messages from config, Fix #19
2015-02-25 23:05:14 -08:00
Kris Runzer
1ad9351b8c
Recover now builds. Start adding tests.
2015-02-25 10:23:18 -08:00
Kris Runzer
0928720a3f
Add new auth testing and tempaltes
2015-02-24 15:02:11 -08:00
Kris Runzer
1198466d76
Reworking auth
2015-02-21 11:22:55 -08:00
Kris Runzer
bab1475b72
Change config to be global. Updated most modules and tests.
2015-02-15 20:07:36 -08:00
Kris Runzer
c52f90b0a9
WIP commit
2015-02-05 10:31:32 -08:00
Kris Runzer
7841223f39
Made config global in authboss
2015-01-16 22:03:40 -08:00
Kris Runzer
a0bde30e3d
Implement auth logout
...
- Add del to client storer interface
2015-01-15 16:04:33 -08:00
Kris Runzer
14272c8164
Changed remember and auth to work together.
2015-01-15 15:10:47 -08:00
Kris Runzer
716e7dd6ba
Add response writer to client storer
2015-01-15 14:01:01 -08:00
Aaron
443f482b71
Fixed auth and auth tests.
...
- Added more error checking to remember module.
2015-01-15 13:24:12 -08:00
Kris Runzer
cb39056695
Cleaned up auth module and tests
2015-01-12 21:08:52 -08:00
Kris Runzer
41670f72ff
Fixed auth to work with root changes
2015-01-09 22:51:02 -08:00
Kris Runzer
3aecf510ad
Added auth module view overriding
2015-01-04 14:50:34 -08:00
Kris Runzer
0f691e7607
started work on auth module. redefined how configuration is going to work and where core is going to reside
2015-01-04 10:33:53 -08:00