Fixed two-factor checkbox display in user admin panel

Fix #2380
This commit is contained in:
Nicolas Lœuillet 2016-10-07 14:56:26 +02:00
parent c8d2dcdafe
commit 5e7786f3c4
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@
<br/>
{{ form_widget(edit_form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
{{ form_rest(edit_form) }}
{{ form_widget(edit_form._token) }}
</form>
<p>
{{ form_start(delete_form) }}

View file

@ -23,7 +23,7 @@ class ManageControllerTest extends WallabagCoreTestCase
// Create a new user in the database
$crawler = $client->request('GET', '/users/');
$this->assertEquals(200, $client->getResponse()->getStatusCode(), "Unexpected HTTP status code for GET /users/");
$this->assertEquals(200, $client->getResponse()->getStatusCode(), 'Unexpected HTTP status code for GET /users/');
$crawler = $client->click($crawler->selectLink('user.list.create_new_one')->link());
// Fill in the form and submit it