forked from bigpresh/Dancer-Plugin-Auth-Extensible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChanges
44 lines (36 loc) · 1.79 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Revision history for Dancer-Plugin-Auth-Extensible
0.20 2013-01-30
[ ENHANCEMENTS ]
- Use return_url to redirect back to requested page after logging in
(GH #14, thanks to @dagolden)
- require_role can now take a regex to match (GH #16, thanks to
@chenryn)
[ BUG FIXES ]
- authenticate_user is now exported (thanks to melmothX on IRC)
0.10 2012-12-19
[ ENHANCEMENTS ]
- WARNING: backwards incompatible change!
The original approach using subroutine attributes was pretty, but not
always reliable (particularly with regards to thread safety, or
running under the debugger or Devel::Cover etc).
Since this module is still in it's early life and not widely used,
I've refactored entirely, to use new requires_login / requires_role
etc keywords, which wrap the provided coderef in a coderef which
checks if the user is logged in / has the required role(s), before
running the route handler provided.
- Configurable /login, /logout URLs - Rene (hertell)
0.04 2012-12-15
[ BUG FIXES ]
- Throw an error properly if not configured correctly - safer to refuse
for anything to be served than to potentially serve stuff the user
expected to be protected if their config is wrong.
0.03 2012-12-07
[ BUG FIXES ]
- import Dancer DSL keywords, so call to debug() if user record is not
found doesn't cause horrific fiery explosions (reported by rwb)
0.02 2012-12-07
[ BUG FIXES ]
- Various bug fixes and improvements, including POD fix from cebjyre,
fixing broken register_plugin call by racke
0.01 Date/time
First version, released on an unsuspecting world.