Commit Graph

74 Commits

Author SHA1 Message Date
Matt Wright bebaac49e3 Forgo redirecting authentication endpoint so that login form errors can be displayed 2012-08-20 23:35:17 -04:00
Matt Wright 332575e53b Fix up 2012-08-20 18:12:46 -04:00
Matt Wright fa4668aa3f Use default values for encrypt_password and verify_password 2012-08-20 17:44:20 -04:00
Matt Wright 3a07970216 Fix up salts and get rid of token serializer as its not used 2012-08-20 17:32:13 -04:00
Matt Wright c36fee7fda Clean up 2012-08-17 15:05:22 -04:00
Matt Wright 2bd19f999d Code cleanup 2012-08-17 14:46:30 -04:00
Matt Wright b7d71f8c59 Remove old commit param 2012-08-17 12:52:05 -04:00
Matt Wright beff7a246d Add context processors for security blueprint 2012-08-17 11:50:23 -04:00
Matt Wright 1c31728a26 Update message 2012-08-16 18:54:45 -04:00
Matt Wright f00f2eff21 Update message 2012-08-16 18:54:38 -04:00
Matt Wright dec858dae9 Add registration message 2012-08-16 18:53:27 -04:00
Matt Wright d87676027e Fix some redirect rules 2012-08-16 18:42:37 -04:00
Matt Wright 704af1011a Fix up forms to grab values in certain cases 2012-08-16 18:31:32 -04:00
Matt Wright 009671090f Clean up and bug improvements 2012-08-16 18:20:42 -04:00
Matt Wright eeace79ef9 Update default login template and add security state to app context processory 2012-08-16 18:03:47 -04:00
Matt Wright 8b139890b4 Add useful decorator for ensuring anonymous users on particular endpoints 2012-08-16 17:53:41 -04:00
Matt Wright 1d8b2f8342 Change urls/views to be (subjectively) simpler 2012-08-16 17:25:24 -04:00
Matt Wright 1d378a6827 Add login to security blueprint 2012-08-16 15:18:49 -04:00
Matt Wright 2fcfb80e8e Refactor templates and added url_for_security utility. Can also configure the blueprint name. 2012-08-16 13:41:13 -04:00
Matt Wright ac674ecd86 Fix some messaging 2012-08-15 19:33:23 -04:00
Matt Wright bb91c4a81a Fix flash messages and fix password reset 2012-08-15 19:22:24 -04:00
Matt Wright ec05b30106 Get rid of silly print statement 2012-08-15 17:23:42 -04:00
Matt Wright 80144c85a1 Fix bug with an invalid remember_token cookie value 2012-08-15 17:06:07 -04:00
Matt Wright 7554a52732 Cleanup and some more messaging additions 2012-08-15 11:56:26 -04:00
Matt Wright 318cb3dc6e First commit of passwordless login 2012-08-14 19:01:49 -04:00
Matt Wright ce6c5dcf31 Clean up 2012-08-14 16:59:05 -04:00
Matt Wright 68b0410d1b No need to keep authentication token in DB 2012-08-14 16:21:31 -04:00
Matt Wright 404e797cd9 Add more test coverage 2012-08-14 14:18:20 -04:00
Matt Wright 58e2856612 No need to store remember_token in DB 2012-08-14 13:52:30 -04:00
Matt Wright 39670ac84e Fix state a bit 2012-07-19 17:39:55 -04:00
Matt Wright 8829692295 Refactor state management 2012-07-19 17:05:13 -04:00
Matt Wright 68dd972bfa Add more secure password storage via salt value and hmac 2012-07-18 13:27:30 -04:00
Matt Wright 1c606a242a Adjust state 2012-07-16 19:40:34 -04:00
Matt Wright e23581e260 Polish 2012-07-16 19:34:33 -04:00
Matt Wright 3899980b2b Not using these 2012-07-16 19:08:22 -04:00
Matt Wright f170cb434c Use a stateful object instead of arbitrary assignment of extension on app object 2012-07-16 19:07:19 -04:00
Matt Wright 3cd20f0e33 Clean up 2012-07-13 12:02:43 -04:00
Matt Wright 1d86d33b0b Add category for messages 2012-07-12 15:39:35 -04:00
Matt Wright 18c7a838b0 Make most messages configurable 2012-07-12 15:24:57 -04:00
Matt Wright dcdfb4d3e7 Add configurable http auth realm and optional realm specification in http_auth_required decorator 2012-07-12 14:16:54 -04:00
Matt Wright a2d31d1d8d Add configurable default http auth header 2012-07-12 13:24:59 -04:00
Matt Wright dfcb3cdcc6 Add customizable unauthorized URL. Fixes #23 2012-07-12 12:47:21 -04:00
Matt Wright 8d1bdca1de Change password reset view to use packaged template 2012-07-12 12:18:08 -04:00
Matt Wright da031b8d15 Simplify routing a tiny bit 2012-07-12 11:29:42 -04:00
Matt Wright 5e1d18c9e8 Changed token auth a bit, including the use of itsdangerous. Also added JSON authentication feature 2012-07-11 16:31:21 -04:00
Matt Wright b9a6a9c5a8 Use itsdangerous for activation and password reset tokens so they do not need to be stored in the database 2012-07-11 15:06:54 -04:00
Matt Wright 703487e608 Move things around for aesthetic reasons 2012-07-10 17:29:43 -04:00
Matt Wright 338a9cd717 Use same convention as other methods 2012-07-10 17:28:14 -04:00
Matt Wright 815c8695fc Code clean upr 2012-07-10 17:24:39 -04:00
Matt Wright 00860c29d0 Remove print statement 2012-07-10 16:23:59 -04:00