![]() |
Myth:Auth - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34) +--- Thread: Myth:Auth (/showthread.php?tid=75039) |
RE: Myth:Auth - nfaiz - 04-25-2020 Hello there, I can access to the registration page. But when I'm trying to register a new account; This error occurs ![]() I'm using PostgreSQL. Is it because the module trying to make a where statement using a string value for datatype Int? Update I made a modification from this file to this ![]() and it works. Please help. Thank you. RE: Myth:Auth - dodjiD - 06-20-2020 Just a quick question here, does Myth:Auth support automatically adding a user to a default group or default permission? RE: Myth:Auth - jim1001 - 08-07-2020 (02-03-2020, 08:56 AM)InsiteFX Wrote: Just call login or register in the browsers window and it should bring up those views. Could you give a bit more detail on that please? What are login / register & how are they called? Are they same as the views mentioned on the GitHub README? Thanks! RE: Myth:Auth - InsiteFX - 08-08-2020 Code: https://admin.local/login Both work fine for me but I' am using the latest version of Myth:Auth and the Developer version of CodeIgniter. The above work fine here and it even remembers me. I use HTTPS and VHOSTS in case your wondering about the above links. RE: Myth:Auth - jim1001 - 08-09-2020 Thanks for reply InsiteFX. I can see the login & register screens now - I had to change the routing (app/Config/Routes.php) which was why they weren't showing. I've joined a project someone else has set up, am new to CI (& haven't done serious web development for a long time!) so am finding my way... RE: Myth:Auth - InsiteFX - 08-09-2020 The routing should have been setup under the Myth::Auth Config/Routes.php I did not change any routing on my system, even CodeIgniter is the default. So it sounds like your not setup correct with Myth::Auth. Just a NOTE I manually installed Myth/Auth RE: Myth:Auth - jim1001 - 08-18-2020 @InsiteFX thanks for your post. The routing had been set by a colleague before I started working with Myth:Auth. That rouitng directed all traffic to one page since that was all that was needed at the time. Don't worry, Myth:Auth is working fine but... Does anyone have advice how to set up my project / system so that Myth:Auth can use email? I'm using Windows localhost using php spark serve & was thinking of sending via gmail. I've seen the CodeIgniter Email Class in the docs but could do with a simple example Grateful for any help - thanks! RE: Myth:Auth - jim1001 - 08-18-2020 (08-18-2020, 04:26 AM)jim1001 Wrote: @InsiteFX thanks for your post. The routing had been set by a colleague before I started working with Myth:Auth. That rouitng directed all traffic to one page since that was all that was needed at the time. Don't worry, Myth:Auth is working fine but... I'm going to try using these settings with these instructions. Will post update later. RE: Myth:Auth - InsiteFX - 08-18-2020 You can try the Mercury Mail Server: Mercury Mail Server Setup It also has a link to download different versions. RE: Myth:Auth - MGatner - 08-18-2020 @jim1001 et al: I've posted an example of integrated Myth:Auth with the CodeIgniter Playground: Repo: https://github.com/MGatner/playground/tree/auth Diff: https://github.com/MGatner/playground/commit/bbdaf41c57e25c959de353dbbfb7844564930980 Accounts: https://github.com/MGatner/playground/blob/auth/app/Database/Seeds/AuthSeeder.php URL: https://auth.igniter.be That ought to give some idea of one way you can use the module. Please note that I haven't activated this domain for verified email so if you register an account you're unlikely to be able to activate it. There are some example credentials in the seeder linked as "Accounts" above. |