Escanea con tu iPhone para instalar
This is a simple login system that you can add to any of your shortcuts! If you post a shortcut that contains my login system, please credit me. You need to download the data jar app before downloading this shortcut for this login system to work.
Novedades
Versión 2.1
+Minor bug fix. +Icon change.
Qué hace
40 acciones-
Text
-
Show Result
-
Choose from MenuLogin system
-
Choose from MenuSignup
-
Ask for InputCreate username
-
Set VariableCreate username
-
Check If Value Existsdk.simonbs.DataJar
-
Set VariableDoes this username already exist
-
If
-
Show AlertError
-
If
-
Ask for InputCreate password
-
Set VariableCreate password
-
Generate Hash
-
Set Valuedk.simonbs.DataJar
-
Show Alert
-
Choose from MenuLogin
-
Ask for InputEnter username
-
Set VariableUsername
-
Check If Value Existsdk.simonbs.DataJar
-
If
-
Get Valuedk.simonbs.DataJar
-
Set VariablePassword input by data jar app
-
Ask for InputEnter password
-
Set VariablePassword input by user
-
Generate Hash
-
If
-
Show Alert
-
If
-
Show AlertError
-
If
-
Show AlertError
-
Choose from MenuHelp
-
Choose from MenuWhat do you need help with?
-
Choose from MenuAding content to your account
-
Show Alert
-
Choose from MenuContact info
-
Show Alert
-
Choose from Menuother
-
Show Alert
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#define color yellow
#define glyph key
show()
menu "Login system" {
item "Signup":
prompt("Create username")
@CreateUsername
rawAction("dk.simonbs.DataJar.CheckIfValueExistsIntent", {
"keyPath": "{@CreateUsername}"
})
@DoesThisUsernameAlreadyExist
if @DoesThisUsernameAlreadyExist == 1 {
alert("Username already exists", "Error")
} else {
prompt("Create password")
@CreatePassword
const Hash = hash(@CreatePassword)
rawAction("dk.simonbs.DataJar.SetValueIntent", {
"keyPath": "{@CreateUsername}",
"valueConversionMode": "text",
"values": "Hash"
})
confirm("Account created")
}
item "Login":
prompt("Enter username")
@Username
rawAction("dk.simonbs.DataJar.CheckIfValueExistsIntent", {
"keyPath": "{@Username}"
})
if ValueExists == 1 {
rawAction("dk.simonbs.DataJar.GetValueIntent", {
"keyPath": "{@Username}"
})
@PasswordInputByDataJarApp
prompt("Enter password", "Text")
@PasswordInputByUser
const Hash1 = hash(@PasswordInputByUser)
if Hash1 == @PasswordInputByDataJarApp {
confirm("Correct password")
} else {
alert("Username doesn't exist", "Error")
}
} else {
alert("Incorrect password", "Error")
}
item "Help":
menu "What do you need help with?" {
item "Ading content to your account":
confirm("This is just a login system that you can put inside of some of your shortcuts. (I may add a way to add content to your account in the future) If you post a shortcut online that contains my login system, please credit me.")
item "Contact info":
confirm("Contact me at [email protected]")
item "other":
confirm("If you have any other things you need help with about this shortcut or if you have any complaints, or any new features, or bugs you would like to tell me about, contact me at [email protected]")
}
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de williamf
También te puede gustar
Publicidad