Skip to content

Commit

Permalink
Updating Readme
Browse files Browse the repository at this point in the history
Fixing a typo in the README for a method name.
  • Loading branch information
volnix committed Oct 21, 2015
1 parent e340c5c commit 3387e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Hidden input string:
```php

<form action="index.php" method="post">
<?= \Volnix\CSRF\CSRF::getAsHiddenInput() ?>
<?= \Volnix\CSRF\CSRF::getHiddenInputString() ?>
<input type="text" name="action" placeholder="Enter an action."/>
<input type="submit" value="Submit" name="sub"/>
</form>
Expand Down Expand Up @@ -128,4 +128,4 @@ if ( CSRF::validate($_POST, 'my_custom_name') ) {
// bad token
}

```
```

0 comments on commit 3387e49

Please sign in to comment.