Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error logging in using email #20

Open
adixsyukri opened this issue May 16, 2019 · 0 comments
Open

Error logging in using email #20

adixsyukri opened this issue May 16, 2019 · 0 comments

Comments

@adixsyukri
Copy link
Contributor

image

Logging in works but below error is thrown

Traceback (most recent call last):
  File "/home/adixsyukri/.local/share/virtualenvs/jm-management-nZ6fi_Fg/lib/python3.7/site-packages/morepath/core.py", line 153, in excview_tween
    response = handler(request)
  File "/home/adixsyukri/Development/Morpframework/morpcc-ori/morpcc/caching_tween.py", line 8, in set_caching_headers
    response = handler(request)
  File "/home/adixsyukri/Development/Morpframework/morpcc-ori/morpcc/firstlogin/tween.py", line 21, in redirect_to_firstlogin
    return handler(request)
  File "/home/adixsyukri/.local/share/virtualenvs/jm-management-nZ6fi_Fg/lib/python3.7/site-packages/morepath/publish.py", line 39, in publish
    return resolve_response(obj, request)
  File "/home/adixsyukri/.local/share/virtualenvs/jm-management-nZ6fi_Fg/lib/python3.7/site-packages/morepath/publish.py", line 94, in resolve_response
    return request.app.get_view(obj, request)
  File "<generated code: def call(self, obj, request):
    _key = _registry_key(self=self, obj=obj, request=request)
    return (_component_lookup(_key) or
            _fallback_lookup(_key) or
            _fallback)(self, obj, request)
>", line 5, in call
  File "/home/adixsyukri/.local/share/virtualenvs/jm-management-nZ6fi_Fg/lib/python3.7/site-packages/morepath/view.py", line 80, in __call__
    request._run_after(response)
  File "/home/adixsyukri/.local/share/virtualenvs/jm-management-nZ6fi_Fg/lib/python3.7/site-packages/morepath/request.py", line 322, in _run_after
    after(response)
  File "/home/adixsyukri/Development/Morpframework/morpcc-ori/morpcc/view/auth.py", line 55, in remember
    identity = morepath.Identity(u.userid)
AttributeError: 'NoneType' object has no attribute 'userid'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant