Announcement

Collapse
No announcement yet.

v7.2 login popup issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • dev77
    commented on 's reply
    "Seems the 'Espo-Authentication' header is being stripped by your webserver."

    How do I prevent that?

    That test site is running on an inexpensive managed, shared, Ubuntu 18.04 Pair.com server. I have no control there.

    My production Espo site runs on a Linode VPS Ubuntu 20.04 server where I have control to all of the Apache virtual host entries.

    I've not yet installed 7.2 on my production server.
    Last edited by dev77; 09-10-2022, 09:07 PM.

  • dev77
    commented on 's reply
    You can try it as well. It is just 2 accounts of test data.

    How/where do I change user and pass?

  • yuri
    replied
    Seems the 'Espo-Authorization' header is being stripped by your webserver.

    https://github.com/espocrm/espocrm/b.../Auth.php#L299
    Last edited by yuri; 09-11-2022, 03:35 PM.

    Leave a comment:


  • dev77
    commented on 's reply
    I made the change

    IT WORKED!!! I can log in now.

    Version 7.2.0

    Copyright © 2014-2022 EspoCRM: Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko.

    Website: www.espocrm.com.

  • yuri
    commented on 's reply
    Yes. Got same popup.

  • yuri
    replied
    Try changing this line https://github.com/espocrm/espocrm/b...i/Auth.php#L92

    from

    Code:
    if (!$hasAuthData && $this->isEntryPoint) {


    to

    Code:
    if (!$hasAuthData) {

    Leave a comment:


  • dev77
    commented on 's reply
    I sent via private message. You get it?

  • yuri
    commented on 's reply
    Or private message.

  • yuri
    commented on 's reply
    Email please.

  • dev77
    commented on 's reply
    All I can do is put in some 'echo" and "exit" code but you need to tell me where to put it (them). What lines of code?

  • dev77
    commented on 's reply
    I can send it privately if you wish? How? Email? Text?

  • yuri
    replied
    Could you give username/password?
    Last edited by yuri; 09-10-2022, 07:17 PM.

    Leave a comment:


  • yuri
    replied
    Not sure what it is. We tried 7.2 on many many environments and they worked well. But they all were properly configured.

    Can you debug the login process from the method I posted a link to?

    Leave a comment:


  • yuri
    replied
    > Why in 7.2 there is no /data/log file(s).

    Because no error occurred yet.
    Last edited by yuri; 09-10-2022, 07:03 PM.

    Leave a comment:


  • dev77
    replied
    When I enter the user/pass it get the same pup up as above. No change. When I click "cancel" the pop up goes away and all I see is "Auth error" at top of screen. I tried cleaning cookies and history data but still can't get into my Espo 7.2.:-(

    Leave a comment:

Working...
X