forked from truffle-box/react-auth-box
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update contracts/Authentication.sol:::
Use Modifier [onlyExistingUser] to ensure that only existing users can login. Use Modifier [onlyValidName] to ensure names are sent when signing up. Use the two modifiers [onlyExisitingUser and onlyValidName] to ensure safe update. The use of modifiers is to conform to the warning that throw is deprecated in favour of "revert()", "require()", and "assert()".
- Loading branch information
1 parent
683a03d
commit b473772
Showing
1 changed file
with
24 additions
and
23 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