Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
colorFrom: indigo
|
5 |
colorTo: blue
|
@@ -10,7 +10,6 @@ pinned: false
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
-
Modify the SMS confirmation program below. Change it so there is a main area that requires authentication to show. In order to authenticate, the user needs to save with a password value and then have a file with the phone number as the name (without +1 at beginning, and then show in history time (central) the time authenticate was clicked and when the link verified the password. To verify the password during save put the file with phone number and password out as an individual history file. Record save events with timestamps and any action with timestamps. When the get string contains the auth hash, check it against the password which was saved in the file. Save all unique phone number files with the name phone-DDMMYY-HH-MM.txt format and have one glob that checks all files matching phone* and show the successfully authenticated message if the hash and password are matched. If there is a URL passed in with the get parameter and the hash doesnt match a password has (store both) then show message (passwords do not match. Please verify to reset, where the user has to save the new password over the old and reverify. Show the user the history for the phone number and include that in url as well to match hash and password from URL: import os
|
14 |
import hashlib
|
15 |
import streamlit as st
|
16 |
import textflowsms as tf
|
|
|
1 |
---
|
2 |
+
title: MFA-SMS-Phone-Verify-Link
|
3 |
emoji: π
|
4 |
colorFrom: indigo
|
5 |
colorTo: blue
|
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
|
|
13 |
import hashlib
|
14 |
import streamlit as st
|
15 |
import textflowsms as tf
|