mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-08 05:32:37 +01:00
fix bug with empty identity URL
This commit is contained in:
parent
5ac3f242bc
commit
2c0cf2e457
1 changed files with 7 additions and 0 deletions
|
|
@ -264,6 +264,13 @@ protected
|
||||||
|
|
||||||
def normalize_open_id_url
|
def normalize_open_id_url
|
||||||
return if open_id_url.nil?
|
return if open_id_url.nil?
|
||||||
|
|
||||||
|
# fixup empty url value
|
||||||
|
if open_id_url.empty?
|
||||||
|
self.open_id_url = nil
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
self.open_id_url = OpenIdAuthentication.normalize_identifier(open_id_url)
|
self.open_id_url = OpenIdAuthentication.normalize_identifier(open_id_url)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue