Skip to content

Commit 828f0f0

Browse files
committed
fix file paths
i created a new repository ,one where the commit names are not "wip", "aaaa", "smt", to get a fresh new start on the project and opensource it, I didn't want people to read those messages or read my Api keys😉
1 parent 9af754b commit 828f0f0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Controllers/User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function login(): \CodeIgniter\HTTP\RedirectResponse|string
4646
// Returns the view from the app's folder, if it doesn't exist, it returns the vendor's view
4747
return view('Views/userlib/login-view');
4848
} catch (\CodeIgniter\View\Exceptions\ViewException $e) {
49-
return view('../../vendor/franky5831/ci4-pckg-userlib/src/Views/login-view');
49+
return view('../../vendor/franky5831/codeigniter4-user-library/src/Views/login-view');
5050
}
5151
}
5252

@@ -108,7 +108,7 @@ public function register(): \CodeIgniter\HTTP\RedirectResponse|string
108108
// Returns the view from the app's folder, if it doesn't exist, it returns the vendor's view
109109
return view('Views/userlib/register-view');
110110
} catch (\CodeIgniter\View\Exceptions\ViewException $e) {
111-
return view('../../vendor/franky5831/ci4-pckg-userlib/src/Views/register-view');
111+
return view('../../vendor/franky5831/codeigniter4-user-library/src/Views/register-view');
112112
}
113113
}
114114

src/Views/login-view.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
<input type="password" name="password" placeholder="Password">
1616
<?=
1717
// If you happen to override the login view you should still include the captcha view
18-
view('../../vendor/franky5831/ci4-pckg-userlib/src/Views/captcha', array("label" => "Login")) ?>
18+
view('../../vendor/franky5831/codeigniter4-user-library/src/Views/captcha', array("label" => "Login")) ?>
1919
</form>

src/Views/register-view.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
<?php endforeach; ?>
2222
<?=
2323
// If you happen to override the register view you should still include the captcha view
24-
view('../../vendor/franky5831/ci4-pckg-userlib/src/Views/captcha', array("label" => "Register")) ?>
24+
view('../../vendor/franky5831/codeigniter4-user-library/src/Views/captcha', array("label" => "Register")) ?>
2525
</form>

0 commit comments

Comments
 (0)