Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit326f23f

Browse files
committed
[#7620] use generate() in PHP templates before 2.8
1 parent769e893 commit326f23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎security/form_login.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ and ``_failure_path`` for login errors:
313313
<div><?php echo $error->getMessage() ?></div>
314314
<?php endif ?>
315315

316-
<form action="<?php echo $view['router']->path('login') ?>" method="post">
316+
<form action="<?php echo $view['router']->generate('login') ?>" method="post">
317317
<label for="username">Username:</label>
318318
<input type="text" id="username" name="_username" value="<?php echo $last_username ?>" />
319319

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp