X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/678bb65be05eb32aae75de93c33b4ac2a606b7c4..4554374c672ee56608c9ddbd6a48486fe20c90d1:/services/api/app/models/user.rb diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb index 4340d4c0f5..50ecc6b65d 100644 --- a/services/api/app/models/user.rb +++ b/services/api/app/models/user.rb @@ -301,7 +301,7 @@ class User < ArvadosModel # # If 'self' is a local user, it is okay to transfer # authorizations, even if the 'new' user is a remote account, - # theq remote site does not gain the ability to access an + # because the remote site does not gain the ability to access an # account it could not before. if redirect_to_new_user and self.uuid[0..4] == Rails.configuration.ClusterID @@ -426,7 +426,7 @@ class User < ArvadosModel if !primary_user primary_user = user.redirects_to elsif primary_user.uuid != user.redirects_to.uuid - raise "Ambigious email address, directs to both #{primary_user.uuid} and #{user.redirects_to.uuid}" + raise "Ambiguous email address, directs to both #{primary_user.uuid} and #{user.redirects_to.uuid}" end end end