ferdium / ferdium-server

The server component that can either be self-hosted or hosted for general purpose - for use with the ferdium thick client.
MIT License
163 stars 41 forks source link

csrfField is not a function #96

Closed RealSocius closed 7 months ago

RealSocius commented 7 months ago

So I am experiencing an error when visiting "/user/login".

{ "message": "csrfField is not a function", "stack": "Error: csrfField is not a function\n at anonymous (/app/build/resources/views/dashboard/login.edge:22:0)\n at Template.reThrow (/app/node_modules/.pnpm/edge.js@5.5.1/node_modules/edge.js/build/src/Template/index.js:174:15)\n at template (eval at wrapToFunction (/app/node_modules/.pnpm/edge.js@5.5.1/node_modules/edge.js/build/src/Template/index.js:60:20), :217:10)\n at Template.renderCompiled (/app/node_modules/.pnpm/edge.js@5.5.1/node_modules/edge.js/build/src/Template/index.js:80:57)\n at Template.render (/app/node_modules/.pnpm/edge.js@5.5.1/node_modules/edge.js/build/src/Template/index.js:135:21)\n at EdgeRenderer.render (/app/node_modules/.pnpm/edge.js@5.5.1/node_modules/edge.js/build/src/Renderer/index.js:37:103)\n at LoginController.show (/app/app/Controllers/Http/Dashboard/LoginController.ts:12:17)\n at Injector.callAsync (/app/node_modules/.pnpm/@adonisjs+fold@8.2.0/node_modules/@adonisjs/fold/build/src/Ioc/Injector.js:124:30)", "code": "E_RUNTIME_EXCEPTION" }

Can anyone maybe help me out. If you need more information just let me know :D

RealSocius commented 7 months ago

Duplicate: https://github.com/ferdium/ferdium-server/issues/86