generated from element-hq/.github
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial service implementation for using a PIN code. (#1912)
* Initial service implementation for using a PIN code. * Tweak Danger for commit size 600-800 lines is perfectly normal for our PRs, up it to 1000.
- Loading branch information
Showing
14 changed files
with
729 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,13 @@ final class AppSettings { | |
/// An email address that should be used for support requests. | ||
let supportEmailAddress = "[email protected]" | ||
|
||
// MARK: - Security | ||
|
||
/// The amount of time the app can remain in the background for without requesting the PIN/TouchID/FaceID. | ||
let appLockGracePeriod: TimeInterval = 180 | ||
/// Any codes that the user isn't allowed to use for their PIN. | ||
let appLockPINCodeBlockList = ["0000", "1234"] | ||
|
||
// MARK: - Authentication | ||
|
||
/// The URL that is opened when tapping the Learn more button on the sliding sync alert during authentication. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.