Browse Source

fix variable

Signed-off-by: Henrik Storch <thisisthefoxe@gmail.com>
Henrik Storch 3 years ago
parent
commit
a2826e4221
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/NCGlobal.swift

+ 2 - 2
iOSClient/NCGlobal.swift

@@ -42,9 +42,9 @@ class NCGlobal: NSObject {
         if (!matches.isEmpty) {
             // Already a md5 hash?
             // done, use as is.
-            hash = loweUserName
+            hash = lowerUsername
         } else {
-            hash = loweUserName.md5()
+            hash = lowerUsername.md5()
         }
 
         hash = hash.replacingOccurrences(of: "[^0-9a-f]", with: "", options: .regularExpression)