fix: logout issue, liscence.txt change
This commit is contained in:
@@ -136,7 +136,6 @@ primary_rules = [
|
||||
{"from_route": "/sketches/<sketch>", "to_route": "sketches/sketch"},
|
||||
{"from_route": "/courses/<course>", "to_route": "courses/course"},
|
||||
{"from_route": "/courses/<course>/<topic>", "to_route": "courses/topic"},
|
||||
{"from_route": "/hackathons", "to_route": "hackathons"},
|
||||
{"from_route": "/hackathons/<hackathon>", "to_route": "hackathons/hackathon"},
|
||||
{"from_route": "/hackathons/<hackathon>/<project>", "to_route": "hackathons/project"},
|
||||
{"from_route": "/dashboard", "to_route": ""},
|
||||
@@ -164,7 +163,8 @@ whitelist = [
|
||||
"/dashboard",
|
||||
"/join-request"
|
||||
"/add-a-new-batch",
|
||||
"/new-sign-up"
|
||||
"/new-sign-up",
|
||||
"/message"
|
||||
]
|
||||
whitelist_rules = [{"from_route": p, "to_route": p[1:]} for p in whitelist]
|
||||
|
||||
|
||||
@@ -75,4 +75,4 @@ def update_invite(data):
|
||||
doc.status = "Registered"
|
||||
doc.save(ignore_permissions=True)
|
||||
|
||||
return "OK"
|
||||
return "OK"
|
||||
|
||||
@@ -55,7 +55,7 @@ class LMSSketch(Document):
|
||||
def get_recent_sketches(limit=100, owner=None):
|
||||
"""Returns the recent sketches.
|
||||
"""
|
||||
filters = {}
|
||||
filters = {}
|
||||
if owner:
|
||||
filters = {"owner": owner}
|
||||
sketches = frappe.get_all(
|
||||
|
||||
@@ -1 +1 @@
|
||||
License: MIT
|
||||
License: AGPL
|
||||
|
||||
Reference in New Issue
Block a user