Comments (6)
I found the cause of the issue, in my particular case. It was with the default location block in nginx conf - apparently, I made a minor typo when writing the rules.
This particular section
location / {
try_files $uri $uri/ /index.php?$query_string;
}
That dollar sign before query_string is kinda important.
Thanks for your reply and Thank you so much for your excellent project!
from admin-portal.
I'm not sure, I'm not able to reproduce the problem.
If you want to create a test user with no permissions and send the login credentials to [email protected] I can try to debug the issue.
from admin-portal.
AccountApiController -> processLogin()
When i remove if (request()->include_static) than app works..
from admin-portal.
Thanks, that's helpful.
It could be a web server config issue which is preventing the URL param from being recognized.
from admin-portal.
I'm seeing this same error on both iOS 11.4 and Android 4.4.2. I can also confirm that removing the if statement from line 116 in the AccountApiController does allow login into the app (with and without 2FA).
I'm using the following versions:
- nginx Web Server 1.8.1
- PHP 7.2.14
- Invoice Ninja v 4.5.9
- iOS App v0.1.27
Also when attempting to login the following information is written into the nginx logs:
"POST /api/v1/login?include=tax_rates,users,custom_payment_terms&include_static=true HTTP/1.1" 200 1608 "-" "Dart/2.1 (dart:io)"
I couldn't find anything worth noting from the App Logs.
I hope this is helpful.
from admin-portal.
If it's failing because of the 'if statement' it seems likely the request param isn't being sent to the script.
from admin-portal.
Related Issues (20)
- Drop-down- or push-up-menus are partwise out of sight HOT 1
- Use the visual markdown editor when editing the invoice terms and notes HOT 4
- hide or adjust column width at invoice page. HOT 2
- Missing setting HOT 5
- Invoice list doesn't filter by `Project` HOT 1
- Ordering by `Is_Invoiced` doesn't seem to work... HOT 1
- 404 when exporting Vendor list HOT 6
- Bulk update creates white screen (in desktop app) HOT 3
- Importing customers from own export won't auto-map HOT 1
- Import mapping 95% fails to auto-map HOT 2
- Exporting vendors results in 404 error HOT 3
- BUG: Expense shown as paid although paid-switch is off/deactivated
- why app not running on my system ,after completing all the process HOT 3
- I would assume after I 'invoice project' from a specific project that it would auto-populate the invoice with this project. HOT 1
- [Feature-Request] Document upload HOT 9
- [Feature-Request] Add new option
- Duplicating/cloning quotes into quotes turns tasks into products HOT 3
- Expenses always being set on "Paid" - invoicing.co HOT 29
- Expenses don't show tax in invoices HOT 8
- custom field in Desktop APP not showing Custon Field Value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from admin-portal.