Skip to content

Commit

Permalink
Fixed avatar regex
Browse files Browse the repository at this point in the history
  • Loading branch information
felixoi authored Dec 31, 2018
1 parent 1464141 commit bb8dc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spongeauth/spongeauth/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
url(r'^admin/', admin.site.urls),
url(r'^accounts/', include(accounts.urls, 'accounts')),
url(r'^2fa/', include(twofa.urls, 'twofa')),
url(r'^avatar/(?P<username>[A-Za-z_0-9]+)/?$', avatar_for_user, name='avatar-for-user'),
url(r'^avatar/(?P<username>[\w-]+)/?$', avatar_for_user, name='avatar-for-user'),
url(r'^sso/', include(sso.urls, 'sso')),
url(r'^$', index, name='index'),
url(r'^api/', include(api.urls, 'api')),
Expand Down

0 comments on commit bb8dc35

Please sign in to comment.