Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
5706b098
Commit
5706b098
authored
Jun 06, 2013
by
Kostas Papadimitriou
Browse files
astakos: Change default ui redirect
redirect user to landing page by default
parent
008d8622
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/views/im.py
View file @
5706b098
...
...
@@ -104,7 +104,7 @@ def index(request, login_template_name='im/login.html', profile_template_name='i
extra_context
=
extra_context
or
{}
template_name
=
login_template_name
if
request
.
user
.
is_authenticated
():
return
HttpResponseRedirect
(
reverse
(
'
astakos.im.views.edit_profile
'
))
return
HttpResponseRedirect
(
reverse
(
'
landing
'
))
third_party_token
=
request
.
GET
.
get
(
'key'
,
False
)
if
third_party_token
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment