seitime-frappe/frappe/website
Chinmay Pai 825b0120fa fix(login): redirect user from login page if already logged in (#6689)
* fix(login): redirect user from login page if already logged in

the user should not be able to access the login page if a user session already exists. closes #6500.

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* fix(test-website): fix website test

what is the point in writing tests if they don't really work/function as intended?

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* fix(regex): do not replace '\' in rules

that defeats the entire purpose of creating rules, wtf?

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* fix(test_website): change user using set_user()

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* redirect: prefix string with r to escape string literals

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-12-31 13:46:55 +05:30
..
css [webform-list] add delete multiple to list table 2018-08-17 11:27:24 +05:30
doctype Merge branch 'staging-fixes' into staging-fixes 2018-12-18 15:26:11 +05:30
js fix(chat): Setup and render chat on website pages as well 2018-11-13 12:48:26 +05:30
page [route] redesigned 2014-08-20 11:50:37 +05:30
website_theme Configurable Website Sidebar in Web Pages (#2530) 2016-12-30 12:39:01 +05:30
__init__.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
context.py fix(login): redirect user from login page if already logged in (#6689) 2018-12-31 13:46:55 +05:30
purifycss.py Replaced Python 2 print syntax with Python 3 syntax (#3838) 2017-08-02 17:10:40 +05:30
redirect.py fix(login): redirect user from login page if already logged in (#6689) 2018-12-31 13:46:55 +05:30
render.py fix(login): redirect user from login page if already logged in (#6689) 2018-12-31 13:46:55 +05:30
router.py Add utility frappe.utils.md_to_html 2018-08-05 18:19:25 +05:30
utils.py cmp alternative 2018-03-08 11:49:31 +05:30
website_generator.py [minor] website-fix 2018-06-06 11:07:54 +05:30